package cn.saltybe.analysis.crawler.wbtc.citiesList;

import com.geccocrawler.gecco.annotation.HtmlField;
import com.geccocrawler.gecco.annotation.Text;
import com.geccocrawler.gecco.spider.HtmlBean;

import java.util.List;

public class WbtcProvince implements HtmlBean {
    private static final long serialVersionUID = 2L;

    @Text
    @HtmlField(cssPath = ".content-province-title")
    private String name;

    @HtmlField(cssPath = ".content-cities > .content-city")
    private List<WbtcCity> cities;

    public String getName() { return name; }

    public void setName(String name) {
        this.name = name;
    }

    public List<WbtcCity> getCities() {
        return cities;
    }

    public void setCities(List<WbtcCity> cities) {
        this.cities = cities;
    }
}
